package cn.edu.hunau.thread;

/**
 * @author hb
 * @date 2025-08-18 14:41:13
 */
public class Account {
    private Integer id;
    private double balance;

    public Account(Integer id, double balance) {
        this.id = id;
        this.balance = balance;
    }

    public Account() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }
}
